package ubadb.core.util.validation;

/**
 * Utility class for validation.
 */
public class Validate
{
	
	/**
	 * Private default constructor to prevent instantiation.
	 */
	private Validate()
	{
		// nop
	}
	
	public static void notNull(Object object, String message)
	{
		if(object == null)
			throw new IllegalArgumentException(message);
	}
}
